package cn.tedu.tmall.passport.service;

import cn.tedu.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.tmall.passport.pojo.param.AdminLoginInfoParam;
import cn.tedu.tmall.passport.pojo.param.AdminRegParam;
import cn.tedu.tmall.passport.pojo.param.StaffLoginInfoParam;
import cn.tedu.tmall.passport.pojo.param.StaffRegParam;
import cn.tedu.tmall.passport.pojo.vo.AdminLoginResultVO;
import cn.tedu.tmall.passport.pojo.vo.StaffLoginResultVO;

public interface IAdminService {

    AdminLoginResultVO login(AdminLoginInfoParam adminLoginInfoParam,
                             String remoteAddr, String userAgent);

    void logout(CurrentPrincipal currentPrincipal);

    //用户注册
    int AdminReg(AdminRegParam adminRegParam);


//    void sendMessage(String phone);

//    UserLoginResultVO loginByPhone(LoginByPhoneParam loginByPhoneParam,
//                                   String remoteAddr, String userAgent);
}
